package com.houweishi.module.clocktype.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.houweishi.common.annotation.Excel;
import com.houweishi.common.core.domain.BaseEntity;

/**
 * 打卡类型对象 biz_clocking_type
 * 
 * @author houweishi
 * @date 2023-03-01
 */
public class BizClockingType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 打卡时间区间表的多个id */
    @Excel(name = "打卡时间区间表的多个id")
    private String clockIds;

    /** 打卡地址表id */
//    @Excel(name = "打卡地址表id")
    private Long clockStressId;

//    add
    /** 用户id */
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 员工id */
    private Long staffId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String staffName;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }
    //    add

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClockIds(String clockIds) 
    {
        this.clockIds = clockIds;
    }

    public String getClockIds() 
    {
        return clockIds;
    }
    public void setClockStressId(Long clockStressId) 
    {
        this.clockStressId = clockStressId;
    }

    public Long getClockStressId() 
    {
        return clockStressId;
    }

//    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("id", getId())
//            .append("clockIds", getClockIds())
//            .append("clockStressId", getClockStressId())
//            .toString();
//    }


    @Override
    public String toString() {
        return "BizClockingType{" +
                "id=" + id +
                ", clockIds='" + clockIds + '\'' +
                ", clockStressId=" + clockStressId +
                ", userId=" + userId +
                ", username='" + userName + '\'' +
                ", staffId=" + staffId +
                ", staffName='" + staffName + '\'' +
                '}';
    }
}
